package com.xbxkj.fegin.cilent;

import com.xbxkj.fegin.Hystrix.MenuFeginHystrix;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author 张子艺
 * @packge com.fegin.client
 * @data 2019-01-16 10:12
 * @project currencycloud
 */
//微服务名字                         熔断器
@FeignClient(value = "APISERVICE",fallbackFactory = MenuFeginHystrix.class)
public interface MenuFegin {

    @RequestMapping(value = "/ApiRpc/menu/test")
    String  test();

 }
